← Back to issue list

Unable to build with lxd when using lxd with lvm pool.

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1851905
Type
issue
State
open
Author
~extraymond
Labels
Created
2019-11-09 04:16:47.872712+00:00
Updated
2019-11-09 04:16:47.872712+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

System version: ubuntu 18.04 snapcraft: 3.8(3440) and 3.9.2(3720) When tring to build snaps with --use-lxd, the following error is shown: /snap/snapcraft/3440/lib/python3.5/site-packages/pylxd/models/_model.py:116: UserWarning: Attempted to set unknown attribute "type" on instance of "Container" key, self.__class__.__name__ Stopped An error occurred with the instance when trying to start with 'LXD': Common start logic: No such file or directory: "/var/snap/lxd/common/lxd/storage-pools/pool1/containers/snapcraft-project/rootfs". Ensure that 'LXD' is setup correctly and try again. It seems that the directory is hardcoded toward the /var directory which is the default one I believe. My lxd is setup with a lvm pool manually.

Evaluation history

No evaluation history available.